package ai.people.netmon.framework.domain.system.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author yuanqinglong
 * @date 2022/4/11 16:38
 */
@Data
public class NmSystemRoleUserRequest {

    /**
     * 角色id
     * @mock 1
     */
    @NotNull(message = "角色id为空")
    private Long roleId;

    /**
     * 菜单id
     * @mock [1,2,3]
     */
    @NotEmpty(message = "菜单为空")
    private List<Long> menuIds;
}
